#!/bin/sh

# Script to make each of the output files from the demo python
# scripts.  If you have the python imaging library, you can add the
# cd_label.py script to the list.

files="
    4x6_card.py
    bus_card_angle_measure.py
    cal_plain.py
    calendar.py
    center_contrast.py
    color_tables.py
    colored_boxes.py
    degree_scale.py
    ellipses.py
    eng_grid.py
    fill_eofill.py
    filled_path.py
    font_gallery.py
    grid.py
    hal9000.py
    helloworld.py
    hsv_boxes.py
    illusion.py
    maneuv_board.py
    number_spiral.py
    paper_scale.py
    piddle_demo.py
    radial_text.py
    resolution_target.py
    rounded_rect.py
    symbols.py
    target_bb.py
    target_rifle.py
    text_path.py
    white.py
"
cat <<EOF
Note the files in the out directory will contain the python version
number.  This allows comparison between python versions.

text_path.py has an exception in python 3.4.0 because of an ASCII
character \xa4 in the PostScript code.

EOF
for i in $files ; do 
    echo $i
    PYTHONPATH=..:$PYTHONPATH ${PYTHON-python} $i
done
